/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * hufu-deploy
 * 部署相关接口
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Hufu.Apis
{

    /// <summary>
    ///  发布版本
    /// </summary>
    public class DeployRequest : JdcloudRequest
    {
        ///<summary>
        /// 发布的修订版本号
        ///Required:true
        ///</summary>
        [Required]
        public   string Revision{ get; set; }
        ///<summary>
        /// 环境：test、preview、online
        ///Required:true
        ///</summary>
        [Required]
        public   string Environment{ get; set; }
        ///<summary>
        /// 后端服务类型：mock、unique、vpc
        ///</summary>
        public   string BackendServiceType{ get; set; }
        ///<summary>
        /// 后端地址
        ///</summary>
        public   string BackendUrl{ get; set; }
        ///<summary>
        /// 描述
        ///</summary>
        public   string Description{ get; set; }
        ///<summary>
        /// 微服务网关名称
        ///</summary>
        public   string JdsfName{ get; set; }
        ///<summary>
        /// 微服务注册中心ID
        ///</summary>
        public   string JdsfRegistryName{ get; set; }
        ///<summary>
        /// 微服务ID
        ///</summary>
        public   string JdsfId{ get; set; }
        ///<summary>
        /// 场景ID
        ///Required:true
        ///</summary>
        [Required]
        public   int SceneId{ get; set; }
    }
}